<template>
  <m-page>
    <!-- 额度激活首页 -->
    <m-header title="电子合同"></m-header>
    <!-- 头部 -->
    <div class="g-header">
      <!-- 可用额度 -->
      <div class="g-header-havelimit">
        <p>
          <b>0.00</b><br />
          可用额度（元）
        </p>
      </div>
      <!-- 总额度及年利率 -->
      <div class="g-header-limit">
        <div class="g-header-limit-money">
          <p>
            总额度（元）<br />
            <b>25,000.00</b>
          </p>
        </div>
        <div class="g-header-limit-rate">
          年利率<br />
          <b>10.00%</b>
        </div>
      </div>
    </div>
    <!-- 按钮区域 -->
    <div class="g-button">
      <div><span>额度申请成功，需要签约激活</span></div>
      <div><ynet-button type="warning" inactive>立即激活</ynet-button></div>
    </div>
    <!-- 信息 -->
    <div class="g-message">
      <ul>
        <li>
          <ynet-cell-item title="持有中的借款" addon="共1笔" arrow></ynet-cell-item>
        </li>
        <li>
          <ynet-cell-item title="1月21日应还款￥6278.66元" arrow></ynet-cell-item>
        </li>
      </ul>
    </div>
    <!-- 提示区域 -->
    <div class="g-tip">
      <div class="g-tip-question">
        <div>
          <a href="javascript:;">常见问题</a>
        </div>
        <div>
          <a href="javascript:;">操作手册</a>
        </div>
        <div>
          <a href="javascript:;">分享</a>
        </div>
      </div>

      <div>
        <span>长沙银行具有快乐流水贷的最终解释权</span>
      </div>
    </div>
  </m-page>
</template>

<script>
import { Button, CellItem, Switch, Icon, Tag } from "ynet-mobile";
export default {
  components: {
    [Button.name]: Button,
    [CellItem.name]: CellItem,
    [Switch.name]: Switch,
    [Icon.name]: Icon,
    [Tag.name]: Tag
  },
  data() {
    return {
      inactive: false
    };
  },
  created() {},
  methods: {
    handClick() {
      // 返回上一个页面
      app.api.pushWindow();
    }
  },
  mounted() {},
  watch: {},
  computed: {}
};
</script>

<style lang="scss" scoped>
@import "./index.scss";
</style>
